package o2o.dao.PO.game;

// 红包
public class RedPacketGame {

    private Long id;                // ID
    private Integer bossType;       // 活动主办方  1平台 2店铺
    private Integer packetType;     // 红包类型  1分享红包 2领取红包
    private Integer isAlwaysActive; // 是否一直有效
    private String shopUsername;    // 主办方账号（店铺账号）
    private Long shopId;            // 主办方Id（店铺Id）
    private Double vipOriginOpenPrice; // 会员开通金额
    private Double vipOpenPrice;    // 会员开通价格

    private Integer gameType;       // 活动类型  1满减  2满赠  3首单减  4首单赠

    private Long startTime;         // 活动开始时间
    private Long endTime;           // 活动结束时间

    private Integer canEnjoyTimes;  // 可参加次数（-1为无限次）
    private String fromUsername;    // 承担者

    private Integer totalCounts;    // 红包总个数 （-1为无数个）
    private Integer splitCount;     // 红包打开个数（用户领取红包的个数）
    private Double price;           // 红包金额
    private Double shopPrice;       // 店铺承担金额
    private Double platformPrice;  // 平台承担金额
    private Double cityAdminPrice;  // 代理承担金额
    private Double priceRang;       // 红包使用门槛（即大于多少时才可以使用，-1不限金额）
    private Double sharePrice;      // 分享红包者获取金额
    private Double sharePriceRang;  // 分享红包者使用红包门槛
    private Long shareValidDays;            // 分享红包有效期
    private Integer customerType;  // 消费者的类型 1 所有用户  2 仅限新用户
    private String name;            // 红包名称
    private String nameLang;    // 名称多语言
    private String descs;           // 红包描述
    private String note;            // 红包备注
    // 2018-9-14  add by dbx
    private Long canUseDays;  // 红包可使用天数

    private int delFlag;//  是否已删除(0未删除,1已删除)
    private String createUser;//  创建者
    private Long createTime;//  创建日期 141231212423423时间戳毫秒级标识
    private String updateUser;//  最后更新着
    private Long updateTime;//  最后更新时间

    // add by yangtk 支付完成红包
    private Double payFisMinRang;         // 支付完成红包最小满足 （不包括）
    private Double payFisMaxRang;         // 支付完成最大满足 （包括）


    public String getNameLang() {
        return nameLang;
    }

    public RedPacketGame setNameLang(String nameLang) {
        this.nameLang = nameLang;
        return this;
    }

    public String getFromUsername() {
        return fromUsername;
    }

    public RedPacketGame setFromUsername(String fromUsername) {
        this.fromUsername = fromUsername;
        return this;
    }

    public Double getCityAdminPrice() {
        return cityAdminPrice;
    }

    public RedPacketGame setCityAdminPrice(Double cityAdminPrice) {
        this.cityAdminPrice = cityAdminPrice;
        return this;
    }

    public Double getVipOriginOpenPrice() {
        return vipOriginOpenPrice;
    }

    public RedPacketGame setVipOriginOpenPrice(Double vipOriginOpenPrice) {
        this.vipOriginOpenPrice = vipOriginOpenPrice;
        return this;
    }

    public Double getVipOpenPrice() {
        return vipOpenPrice;
    }

    public RedPacketGame setVipOpenPrice(Double vipOpenPrice) {
        this.vipOpenPrice = vipOpenPrice;
        return this;
    }

    public Integer getCustomerType() {
        return customerType;
    }

    public RedPacketGame setCustomerType(Integer customerType) {
        this.customerType = customerType;
        return this;
    }

    public Long getShareValidDays() {
        return shareValidDays;
    }

    public RedPacketGame setShareValidDays(Long shareValidDays) {
        this.shareValidDays = shareValidDays;
        return this;
    }

    public Integer getIsAlwaysActive() {
        return isAlwaysActive;
    }

    public RedPacketGame setIsAlwaysActive(Integer isAlwaysActive) {
        this.isAlwaysActive = isAlwaysActive;
        return this;
    }

    public Double getPayFisMinRang() {
        return payFisMinRang;
    }

    public RedPacketGame setPayFisMinRang(Double payFisMinRang) {
        this.payFisMinRang = payFisMinRang;
        return this;
    }

    public Double getPayFisMaxRang() {
        return payFisMaxRang;
    }

    public RedPacketGame setPayFisMaxRang(Double payFisMaxRang) {
        this.payFisMaxRang = payFisMaxRang;
        return this;
    }

    public Double getShopPrice() {
        return shopPrice;
    }

    public RedPacketGame setShopPrice(Double shopPrice) {
        this.shopPrice = shopPrice;
        return this;
    }

    public Double getPlatformPrice() {
        return platformPrice;
    }

    public RedPacketGame setPlatformPrice(Double platformPrice) {
        this.platformPrice = platformPrice;
        return this;
    }

    public Long getId() {
        return id;
    }

    public RedPacketGame setId(Long id) {
        this.id = id;
        return this;
    }

    public Integer getBossType() {
        return bossType;
    }

    public RedPacketGame setBossType(Integer bossType) {
        this.bossType = bossType;
        return this;
    }

    public Integer getPacketType() {
        return packetType;
    }

    public RedPacketGame setPacketType(Integer packetType) {
        this.packetType = packetType;
        return this;
    }

    public String getShopUsername() {
        return shopUsername;
    }

    public RedPacketGame setShopUsername(String shopUsername) {
        this.shopUsername = shopUsername;
        return this;
    }

    public Long getShopId() {
        return shopId;
    }

    public RedPacketGame setShopId(Long shopId) {
        this.shopId = shopId;
        return this;
    }

    public Integer getGameType() {
        return gameType;
    }

    public RedPacketGame setGameType(Integer gameType) {
        this.gameType = gameType;
        return this;
    }

    public Long getStartTime() {
        return startTime;
    }

    public RedPacketGame setStartTime(Long startTime) {
        this.startTime = startTime;
        return this;
    }

    public Long getEndTime() {
        return endTime;
    }

    public RedPacketGame setEndTime(Long endTime) {
        this.endTime = endTime;
        return this;
    }

    public Integer getCanEnjoyTimes() {
        return canEnjoyTimes;
    }

    public RedPacketGame setCanEnjoyTimes(Integer canEnjoyTimes) {
        this.canEnjoyTimes = canEnjoyTimes;
        return this;
    }

    public Integer getTotalCounts() {
        return totalCounts;
    }

    public RedPacketGame setTotalCounts(Integer totalCounts) {
        this.totalCounts = totalCounts;
        return this;
    }

    public Integer getSplitCount() {
        return splitCount;
    }

    public RedPacketGame setSplitCount(Integer splitCount) {
        this.splitCount = splitCount;
        return this;
    }

    public Double getPrice() {
        return price;
    }

    public RedPacketGame setPrice(Double price) {
        this.price = price;
        return this;
    }

    public Double getPriceRang() {
        return priceRang;
    }

    public RedPacketGame setPriceRang(Double priceRang) {
        this.priceRang = priceRang;
        return this;
    }

    public Double getSharePrice() {
        return sharePrice;
    }

    public RedPacketGame setSharePrice(Double sharePrice) {
        this.sharePrice = sharePrice;
        return this;
    }

    public Double getSharePriceRang() {
        return sharePriceRang;
    }

    public RedPacketGame setSharePriceRang(Double sharePriceRang) {
        this.sharePriceRang = sharePriceRang;
        return this;
    }

    public String getName() {
        return name;
    }

    public RedPacketGame setName(String name) {
        this.name = name;
        return this;
    }

    public String getDescs() {
        return descs;
    }

    public RedPacketGame setDescs(String descs) {
        this.descs = descs;
        return this;
    }

    public Long getCanUseDays() {
        return canUseDays;
    }

    public RedPacketGame setCanUseDays(Long canUseDays) {
        this.canUseDays = canUseDays;
        return this;
    }

    public String getNote() {
        return note;
    }

    public RedPacketGame setNote(String note) {
        this.note = note;
        return this;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public RedPacketGame setDelFlag(int delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public RedPacketGame setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public RedPacketGame setCreateTime(Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public RedPacketGame setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
        return this;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public RedPacketGame setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
        return this;
    }
}
